<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript" src="${path }/resources/js/jquery-1.7.2.min.js"></script>
<!-- ZUI 标准版压缩后的 JavaScript 文件 -->
<script src="${path }/resources/zui-1.6.0/js/zui.min.js"></script>
<script src="${path }/resources/zui-1.6.0/lib/datetimepicker/datetimepicker.min.js"></script>
<script src="${path }/resources/zui-1.6.0/lib/chosen/chosen.min.js"></script>
<!-- layer js -->
<script src="${path }/resources/layer/layer.js"></script>
<!-- 分页引入 -->
<script src="${path }/resources/pagination/jquery.pagination.js"></script>
<script>
//用户信息展示
function userInfo() {
	layer.open({
		type: 2,
		title: '信息查看',
		shadeClose: true,
		area: ['60%', '80%'],
		shade: 0.8,
		maxmin: true, //开启最大化最小化按钮
		content: ['${path}/myInfo', 'no'],
		end: function() {
		}
	});
}
//用户退出
function logOut() {
	layer.confirm('确定要退出系统吗？', {
		btn: ['嗯, 退出', '我再想想']
	}, function(index) {
		var url = '${path}/userLogOut';
		$.get(url, {}, function(data) {
			window.location.href = '${path}';
		}, 'json');
	});
}
</script>
